package ArrayList1;

public class Food {
    ///此代码主要储存食物与相关的数据的存储，简而言之就是储存信息；
    private String food ;
    private double price;
    private  String Dec;

    public Food() {
    }

    public Food(String food, double price, String dec) {
        this.food = food;
        this.price = price;
        Dec = dec;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getDec() {
        return Dec;
    }

    public void setDec(String dec) {
        this.Dec = dec;
    }
}
